//
//  RBPageListViewController.h
//  RMMaterialRed
//
//  Created by XBWH on 2024/3/12.
//

#import "RBBaseViewController.h"
#import "RBListTabViewController.h"

NS_ASSUME_NONNULL_BEGIN

@interface RBPageListViewController : RBBaseViewController<JXPagerViewDelegate,JXPagerMainTableViewGestureDelegate,JXCategoryViewDelegate>
@property(nonatomic,assign)NSInteger topSpaceH;
@property(nonatomic,strong)JXPagerView *pagerView;
/// 主tableView的header
@property(strong,nonatomic)UIView *userHeaderView;
/// 主tableView的header高度
@property(assign,nonatomic)CGFloat JXTableHeaderViewHeight;
/// 左右划标题视图
@property(strong,nonatomic)JXCategoryTitleView *categoryView;
/// 标题item集合
@property(strong,nonatomic)NSArray <NSString *> *titles;
/// 标题item背景视图高度
@property(assign,nonatomic)CGFloat JXheightForHeaderInSection;
/// 底部View高度
@property(assign,nonatomic)CGFloat bottomViewHeight;
/// 是否需要上拉刷新
@property(assign,nonatomic)BOOL isNeedFooter;
/// 是否需要下拉刷新
@property(assign,nonatomic)BOOL isNeedHeader;
@property(assign,nonatomic)BOOL isHidBottomLineView;
/// 初始化控件(需执行在设置userHeaderView和titles之后)
- (void)prepareCatagoryView;
/// 子类去实现, 返回需要用于展示在每个滑动item下的控制器,该控制器必须遵循JXPagerViewListViewDelegate协议
- (id<JXPagerViewListViewDelegate>)pagerView:(JXPagerView *)pagerView initListAtIndex:(NSInteger)index;
@end

NS_ASSUME_NONNULL_END
